WooCommerce\Square\Framework\PaymentGateway\Admin\Payment_Gateway_Admin_Order A

Total Complexity 55
Dependencies 7
Dependents 1
Total lines 418
Lines of code 201
Logical lines of code 115
Comment lines 113
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
add_capture_button()
A
44 15 40
process_capture_charge_bulk_order_action()
A
50 9 27
ajax_process_capture()
A
46 8 38
maybe_add_capture_charge_bulk_order_action()
S
51 7 28
enqueue_scripts()
S
60 5 14
get_order_gateway()
S
63 3 11
__construct()
S
63 2 10
is_order_ready_for_capture()
S
67 2 8
enqueue_edit_order_assets()
S
59 1 13
output_partial_capture_html()
S
69 1 6
get_plugin()
S
82 1 3
maybe_capture_paid_order()
S
80 1 3